package com.team2.outpatient_sys.pojo;

/**
 * 科室 实体类
 */
public class Department {
    // 科室id
    private Integer id;
    // 科室名
    private String name;
    // 科室前缀
    private String prefix;

    public Department() {
    }

    public Department(Integer id, String name, String prefix) {
        this.id = id;
        this.name = name;
        this.prefix = prefix;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    @Override
    public String toString() {
        return "Department{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", prefix='" + prefix + '\'' +
                '}';
    }
}
